package com.software.usercenter.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

@Data
@Entity
/**
 * Author: zk
 * Description: 题解类
 */
public class Answer {
    @Id
    private String id; // 主键id
    private Integer questionId; // 题目id,外键
    private String userId; // 用户id,外键
    private String content; // 题解内容
}
